﻿using BPMN.Domain;
using BPMN.Domain.Entity.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BPMN.DomianShare;
using System.Threading.Tasks;
using BPMN.Application.Contracts.DTO.Request.UserInfo;
using BPMN.Application.Contracts.DTO.Request.Role;
using BPMN.Application.Contracts.DTO.Request;
using BPMN.Application.Contracts.DTO.Response.Permission;
using BPMN.Application.Contracts.DTO.Response;
using BPMN.Application.Contracts.DTO.Request.Menu;

namespace BPMN.Application.IService
{
    public interface IMenuAppService : IAppServiceBase<Menu>, IScoped
    {

        Task<ResultResponseDto<MenuShowDto>> GetMenuById(int Id);

        Task<ResultResponseDto<int>> AddMenu(MenuShowDto menu);

        Task<ResultResponseDto<int>> UpdateMenu(MenuShowDto entity);
    }
}
